{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <!-- 引入 layui.css -->
    <link rel="stylesheet" href="{% static 'layui/css/layui.css' %}"/>
    <link rel="stylesheet" href="{% static 'css/login.css' %}">
    <!-- 引入 layui.js -->
    <script src="{% static 'layui/layui.js' %}"></script>
</head>
<body>
    <div id="login_box">
        <h2>云借阅-图书管理系统 </h2>
        <form id="form" action="{% url 'Admins:login' %}" method="post">
            <div id="input_box">
                <i class="fa fa-user" aria-hidden="true"></i>
                <input class="in" type="text" placeholder="请输入邮箱" name="userEmail">
            </div>
            <div id="input_box">
                <i class="fa fa-key" aria-hidden="true"></i>
                <input class="in" type="password" placeholder="请输入密码" name="pwd">
            </div>
            <button id="btn" type="submit">Sign in</button><br>
            <p>
                <span id="error" style="color:red;font-size: 15px">{{ msg }}</span>
            </p>
        </form>

    </div>
</body>
</html>